home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / xscreensaver-gl.postrm < prev    next >
Text File  |  2009-09-22  |  482b  |  23 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "$1" in 
  6.   remove|purge)
  7.     if [ -L /etc/X11/app-defaults/XScreenSaver ]; then
  8.       rm /etc/X11/app-defaults/XScreenSaver
  9.       if [ -f /etc/X11/app-defaults/XScreenSaver-nogl ]; then
  10.         ln -sf XScreenSaver-nogl /etc/X11/app-defaults/XScreenSaver
  11.       fi
  12.     fi
  13.     if [ -L /usr/X11R6/lib/X11/app-defaults/XScreenSaver ]; then
  14.         rm /usr/X11R6/lib/X11/app-defaults/XScreenSaver
  15.     fi
  16.     if [ -L /usr/doc/xscreensaver-gl ]; then
  17.         rm -f /usr/doc/xscreensaver-gl
  18.     fi
  19.     ;;
  20. esac
  21.  
  22.  
  23.